package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户钱包对象 user_wallet
 * 
 * @author ruoyi
 * @date 2024-09-02
 */
public class UserWallet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 钱包id */
    private Long id;

    /** 钱包对应的用户的id */
    @Excel(name = "钱包对应的用户的id")
    private Long userId;

    /** 用户名提现 */
    @Excel(name = "用户名提现")
    private String userName;

    /** 用户账户余额 */
    @Excel(name = "用户账户余额")
    private Long balance;

    /** 用户账户收入 */
    @Excel(name = "用户账户收入")
    private Long earnings;

    /** 用户银行卡号 */
    @Excel(name = "用户银行卡号")
    private Long bankCardNum;

    /** 用户支付宝账号 */
    @Excel(name = "用户支付宝账号")
    private String alipayAccount;

    /** 用户微信openId */
    @Excel(name = "用户微信openId")
    private Long wechatOpenId;

    /** 用户支付密码 */
    @Excel(name = "用户支付密码")
    private String alternatePwd;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setBalance(Long balance) 
    {
        this.balance = balance;
    }

    public Long getBalance() 
    {
        return balance;
    }
    public void setEarnings(Long earnings) 
    {
        this.earnings = earnings;
    }

    public Long getEarnings() 
    {
        return earnings;
    }
    public void setBankCardNum(Long bankCardNum) 
    {
        this.bankCardNum = bankCardNum;
    }

    public Long getBankCardNum() 
    {
        return bankCardNum;
    }
    public void setAlipayAccount(String alipayAccount) 
    {
        this.alipayAccount = alipayAccount;
    }

    public String getAlipayAccount() 
    {
        return alipayAccount;
    }
    public void setWechatOpenId(Long wechatOpenId) 
    {
        this.wechatOpenId = wechatOpenId;
    }

    public Long getWechatOpenId() 
    {
        return wechatOpenId;
    }
    public void setAlternatePwd(String alternatePwd) 
    {
        this.alternatePwd = alternatePwd;
    }

    public String getAlternatePwd() 
    {
        return alternatePwd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("balance", getBalance())
            .append("earnings", getEarnings())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("bankCardNum", getBankCardNum())
            .append("alipayAccount", getAlipayAccount())
            .append("wechatOpenId", getWechatOpenId())
            .append("alternatePwd", getAlternatePwd())
            .toString();
    }
}
